<%@page import="java.util.ArrayList"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<jsp:useBean id="diagramm" class="guis.Diagramm" scope="session"></jsp:useBean>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Diagramm</title>
<link rel="stylesheet" type="text/css" href="formate.css">
<style type="text/css">
/* ... hier sind dateispezifische Formate erlaubt ... */
</style>
<script>
	function bar(high, val) {
		document
				.write(
						"<td valign=bottom>",
						high,
						"<table bgcolor=#000033 border=",border," height=",high,
" width=",width,
" cellpadding=0 cellspacing=0>",
						"<tr><td align=center valign=bottom>",
						"<font color=#FFFFFF size=-1 >", val, "</font>",
						"</td></tr></table></td>");
	}

	function start() {
		border = 1;
		width = 100;
		n_bars = 5;

		document
				.writeln("<table bgcolor=#a0a0a0 height=200 width=",
n_bars*width," border=",border," >");
<% ArrayList<String> auswertung;
auswertung = diagramm.getAuswertung(request.getParameter("durchfuehrung"));
%>
	bar(
<%=auswertung.get(0)%>
	, "Stoff / Inhalt");
		bar(
<%=auswertung.get(1)%>
	, "Umfang");
		bar(
<%=auswertung.get(2)%>
	, "Unterlagen");
		bar(
<%=auswertung.get(3)%>
	, "Vermittlung");
		bar(
<%=auswertung.get(4)%>
	, "Betreuung");

		document.writeln("</table>");
	}
	
</script>


</head>
<body onload="start()">
	<div id="wrapper">
		<div id="header">
			<div id="logo">
				<h1><a>Feedbacktool</a></h1>
			</div>
			<div id="menu">
				<ul>
					<li class="first active"><a>Baumann</a></li>
					<li><a>Strebel</a></li>
					<li><a>Widmer</a></li>
					<li><a> Benyamini</a></li>
				</ul>
				<br class="clearfix" />
			</div>
		</div>
		<div id="page">
			<div id="sidebar">
				<img class="alignleft" src="santis.jpg" width="235" height="220" alt="" />
			</div>
			<div id="content">
				<div class="box">
				<form id="meldung3" action="/SVNFeedbackTool/Main.jsp" method="POST">
					<p>
						<input type="submit" value="Weiter">
					</p>
				</form>
				</div>
				<br class="clearfix" />
			</div>
			<br class="clearfix" />
		</div>
		<div id="page-bottom">
			
		</div>
	</div>
	<div id="footer">
		&copy; 2012 Untitled | Design by BSWB | Feedbacktool</a>
	</div>
</body>
</html>